luci-mod-system: hide unsupported option on flash.js
authorAnsuel Smith <[email protected]>
Wed, 18 Aug 2021 17:46:04 +0000 (20:46 +0300)
committerHannu Nyman <[email protected]>
Wed, 18 Aug 2021 17:46:04 +0000 (20:46 +0300)
commitc3580ee68f4268b73b44e2de9e2b7f17db6af575
treebc3f4fc11c494f0ebb3995ae11c0f95dca0ca7a6
parent63898260397716d7bae5e5ee06226eb78dc4ff74
luci-mod-system: hide unsupported option on flash.js

Hide unsupported option when /rom is not used in flash.js

Signed-off-by: Ansuel Smith <[email protected]>
(cherry picked from commit 82035eec6150fef1319e6fcec324124f82ada754)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/flash.js